import React from 'react'
import { hashHistory } from 'react-router'
import CommonHeader from 'COMPONENT/CommonHeader';
import { Card } from 'antd-mobile';
import './index.less';
import {Link} from 'react-router'
import PropTypes from 'prop-types';
const CardBody = Card.Body;
const dataList = [ 
    {address:'上海市浦东新区',money:'123789.00',progress:'申请中'},
    {address:'北京市回龙观',money:'33789.00',progress:'审批中'},
    {address:'上海市普陀区',money:'389.00',progress:'待放款'},
    {address:'上海市徐汇区',money:'12231789.00',progress:'已放款'},
]

class Home extends React.Component {
    static contextTypes = {
        router: PropTypes.object.isRequired
    }
    constructor(props){ 
        super(props);
        this.state={ 
            
        }
    }
    gotoDetail=()=>{ 

    }
    render(){ 
        return(
            <div className="progress_inquiry_list">
                <CommonHeader 
					name='申请记录'					
					leftContentTitle="@back" 
					leftContent='返回'

				/>
                <div style={{height:'.9rem'}}></div>
            
                <div className="progress_inquiry_list_body">
                    {
                        dataList.map((item,index)=>{ 
                            return (
                                <Card full>
                                    <CardBody>
                                        <div>{item.address}</div>
                                        <div>{item.money}</div>
                                        <div>{item.progress}<Link to="/Mine/ProgressInquiry">查看详情</Link></div>
                                    </CardBody>
                                </Card>
                            )
                        })
                    }
                </div>
            </div>
        );
    }
    
}
export default Home;